package org.zephyr.struct.adapter.ex;

/**
 * 光能适配器
 */
public class OpticalAdapter implements Motor{
    private OpticalMotor opticalMotor;
    public OpticalAdapter(){
        opticalMotor=new OpticalMotor(); //加载光能发动机
    }
    @Override
    public void drive() {
        opticalMotor.opticalDrive();
    }
}
